<?php /* Smarty version Smarty-3.1.18, created on 2015-05-13 10:08:04
         compiled from "..\application\views\home\articlecontent.tpl" */ ?>
<?php /*%%SmartyHeaderCode:406155532284953d92-54536551%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ba8c4828dc0b6b3352fb2bada3c7f68aca3c1f94' => 
    array (
      0 => '..\\application\\views\\home\\articlecontent.tpl',
      1 => 1431506089,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '406155532284953d92-54536551',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'side' => 0,
    'cateNow' => 0,
    'data' => 0,
    'v' => 0,
    'next' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_555322850a16b8_49637731',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_555322850a16b8_49637731')) {function content_555322850a16b8_49637731($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('home/header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<div id="main">
	<div class="container">
		<?php if (!empty($_smarty_tpl->tpl_vars['side']->value)) {?>
		<?php echo $_smarty_tpl->getSubTemplate ('home/sidecate.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

		<?php } else { ?>
		<?php echo $_smarty_tpl->getSubTemplate ('home/sidebar-news.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

		<?php }?>
		<div class="main-right">
			<div class="main-title">
				<h1><?php echo h($_smarty_tpl->tpl_vars['cateNow']->value[0]['CateName']);?>
</h1>
				<?php echo $_smarty_tpl->getSubTemplate ('home/crumbs.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

			</div>
			<div class="main-content">
				<div class="article-body">
					<p class="article-title">
						<a href="" target="_blank"><?php echo h($_smarty_tpl->tpl_vars['data']->value[0]['Title']);?>
</a>
					</p>
					<table class="article-detail">
						<tr>
							<td>
								<span>来源：<?php echo h($_smarty_tpl->tpl_vars['data']->value[0]['Source']);?>
</span>
								<span>阅读次数：<?php echo h($_smarty_tpl->tpl_vars['data']->value[0]['ReadTimes']);?>
</span>
								<span>发布时间：
									<?php if (!empty($_smarty_tpl->tpl_vars['data']->value[0]['PubTime'])) {?>
									<?php echo date('Y-m-d',$_smarty_tpl->tpl_vars['data']->value[0]['PubTime']);?>

									<?php } else { ?>
									<?php echo date('Y-m-d',$_smarty_tpl->tpl_vars['data']->value[0]['Time']);?>

									<?php }?>
								</span>
							</td>
						</tr>
					</table>
					<div id="article-content">
						<div><?php echo $_smarty_tpl->tpl_vars['data']->value[0]['Content'];?>
</div>
						<?php if (!empty($_smarty_tpl->tpl_vars['data']->value[0]['File'])) {?>
						<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_from = json_decode($_smarty_tpl->tpl_vars['data']->value[0]['File']); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
?>
						<a href="<?php echo base_url();?>
webDisk/<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['v']->value;?>
</a></br>
						<?php } ?>
						<?php }?>
					</div>
				</div>
				<div class="page-footer">
					<?php if (!empty($_smarty_tpl->tpl_vars['next']->value)) {?>
					<p class="nextPage">
						<a href="<?php echo site_url("home/content?Id=".((string)$_smarty_tpl->tpl_vars['next']->value['Id']));?>
">下一篇：<?php echo $_smarty_tpl->tpl_vars['next']->value['Title'];?>
</a>
					</p>
					<?php }?>
				</div>
			</div>
		</div>
	</div>
</div>
<?php echo $_smarty_tpl->getSubTemplate ('home/footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php }} ?>
